﻿namespace TestTool.Proxies.Event
{
    using System;
    using System.CodeDom.Compiler;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Xml;
    using System.Xml.Serialization;

    [Serializable, XmlType(AnonymousType=true, Namespace="http://docs.oasis-open.org/wsn/b-2"), GeneratedCode("svcutil", "3.0.4506.2152"), DebuggerStepThrough, DesignerCategory("code")]
    public class SubscribeResponse
    {
        private XmlElement[] anyField;
        private DateTime currentTimeField;
        private bool currentTimeFieldSpecified;
        private EndpointReferenceType subscriptionReferenceField;
        private DateTime? terminationTimeField;
        private bool terminationTimeFieldSpecified;

        [XmlAnyElement(Order=3)]
        public XmlElement[] Any
        {
            get
            {
                return this.anyField;
            }
            set
            {
                this.anyField = value;
            }
        }

        [XmlElement(Order=1)]
        public DateTime CurrentTime
        {
            get
            {
                return this.currentTimeField;
            }
            set
            {
                this.currentTimeField = value;
            }
        }

        [XmlIgnore]
        public bool CurrentTimeSpecified
        {
            get
            {
                return this.currentTimeFieldSpecified;
            }
            set
            {
                this.currentTimeFieldSpecified = value;
            }
        }

        [XmlElement(Order=0)]
        public EndpointReferenceType SubscriptionReference
        {
            get
            {
                return this.subscriptionReferenceField;
            }
            set
            {
                this.subscriptionReferenceField = value;
            }
        }

        [XmlElement(IsNullable=true, Order=2)]
        public DateTime? TerminationTime
        {
            get
            {
                return this.terminationTimeField;
            }
            set
            {
                this.terminationTimeField = value;
            }
        }

        [XmlIgnore]
        public bool TerminationTimeSpecified
        {
            get
            {
                return this.terminationTimeFieldSpecified;
            }
            set
            {
                this.terminationTimeFieldSpecified = value;
            }
        }
    }
}

